package cn.gson.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the CUSTOMERSOURCE database table.
 * 
 */
@Entity
@NamedQuery(name="Customersource.findAll", query="SELECT c FROM Customersource c")
public class Customersource implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CUSTOMERSOURCE_CSID_GENERATOR", sequenceName="SEQ_60")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CUSTOMERSOURCE_CSID_GENERATOR")
	@Column(name="CS_ID")
	private long csId;

	@Column(name="CS_CONTENT")
	private String csContent;

	@Column(name="CS_DEFAULT")
	private BigDecimal csDefault;

	@Column(name="CS_SORT")
	private BigDecimal csSort;

	@Column(name="CS_STAR")
	private BigDecimal csStar;

	public Customersource() {
	}

	public long getCsId() {
		return this.csId;
	}

	public void setCsId(long csId) {
		this.csId = csId;
	}

	public String getCsContent() {
		return this.csContent;
	}

	public void setCsContent(String csContent) {
		this.csContent = csContent;
	}

	public BigDecimal getCsDefault() {
		return this.csDefault;
	}

	public void setCsDefault(BigDecimal csDefault) {
		this.csDefault = csDefault;
	}

	public BigDecimal getCsSort() {
		return this.csSort;
	}

	public void setCsSort(BigDecimal csSort) {
		this.csSort = csSort;
	}

	public BigDecimal getCsStar() {
		return this.csStar;
	}

	public void setCsStar(BigDecimal csStar) {
		this.csStar = csStar;
	}

	public Customersource(long csId, String csContent, BigDecimal csDefault, BigDecimal csSort, BigDecimal csStar) {
		super();
		this.csId = csId;
		this.csContent = csContent;
		this.csDefault = csDefault;
		this.csSort = csSort;
		this.csStar = csStar;
	}

}